From 76ce0f547f5713ff368c841aea3d29c15f80415a Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 13 Jan 2015 19:59:00 -0800 Subject: [PATCH] Call out libs a little more in the guide Closes #643 --- src/doc/guide.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/doc/guide.md b/src/doc/guide.md index 43994734d..027b41c51 100644 --- a/src/doc/guide.md +++ b/src/doc/guide.md @@ -48,7 +48,9 @@ $ tree . 1 directory, 2 files ``` -This is all we need to get started. First, let's check out `Cargo.toml`: +If we had just used `cargo new hello_world` without the `--bin` flag, then the +we would have a `lib.rs` instead of a `main.rs`. For now, however, this is all +we need to get started. First, let's check out `Cargo.toml`: ```toml [package] -- 2.30.2